//
//  pieButton.m
//  2016-06-08 Homework TomCat
//
//  Created by Roach on 16/6/8.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "pieButton.h"

@implementation pieButton

+ (instancetype)button {
    
    pieButton *button = [pieButton buttonWithType:UIButtonTypeCustom];
    
    NSString *path = [[NSBundle mainBundle]pathForResource:@"pie" ofType:@"png"];
    UIImage *image = [UIImage imageWithContentsOfFile:path];
    [button setImage:image forState:UIControlStateNormal];
    
    return button;
}

@end
